package com.ruoyi.finance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: qs
 * @Date: 2025/2/26 19:13
 * @Description:
 **/
@Data
public class GoodsDto {
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date invoiceDate;

    /** 发票号码 */
    @Excel(name = "发票号码")
    private String invoiceNumber;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private Long businessType;

    /** 合计金额 */
    @Excel(name = "合计金额")
    private BigDecimal totalAmount;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal taxRate;

    /** 合计税额 */
    @Excel(name = "合计税额")
    private BigDecimal totalTax;

    /** 价税合计 */
    @Excel(name = "价税合计")
    private BigDecimal totalAmountWithTax;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private String verificationStatus;

    /** 认证日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verificationDate;

    /** 关联凭证 */
    @Excel(name = "关联凭证")
    private Long associatedVoucher;

}
